define(()=>{
    // 点击切换
    return function(ops, city, apr) {
        'use strict';
        for(let i=0;i<ops.length;i++){
            ops[i].addEventListener("click",()=>{
                for(let j=0;j<ops.length;j++){
                    ops[j].className = "";
                }
                ops[i].className = "activeC"
                apr.innerHTML = city.innerHTML = ops[i].innerHTML;
            })
        }

    }
});